@@ -301,7 +301,7 @@ class Agent < ActiveRecord::Base |
||
301 | 301 |
class << self |
302 | 302 |
def build_clone(original) |
303 | 303 |
new(original.slice(:type, :options, :schedule, :controller_ids, :control_target_ids, |
304 |
- :source_ids, :keep_events_for, :propagate_immediately)) { |clone| |
|
304 |
+ :source_ids, :keep_events_for, :propagate_immediately, :scenario_ids)) { |clone| |
|
305 | 305 |
# Give it a unique name |
306 | 306 |
2.upto(count) do |i| |
307 | 307 |
name = '%s (%d)' % [original.name, i] |